<template>
    <el-dialog title="商品信息" :close-on-click-modal="false" :visible.sync="visible" :before-close="cancel" append-to-body
      class="JNPF-dialog JNPF-dialog_center" width="60%">
      <el-row class="JNPF-common-search-box" :gutter="16">
        <el-form @submit.native.prevent>
          <el-col :span="6">
            <el-form-item label="商品编号">
              <el-input v-model="listQuery.fitemno" placeholder="商品编号" clearable />
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="商品名称">
              <el-input v-model="listQuery.fitemname" placeholder="商品名称" clearable />
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="商品分类">
              <el-select v-model="listQuery.fcatno" placeholder="请选择" clearable>
                <el-option v-for="item in catlist" :key="item.FCATNO" :label="item.FCATNAME" :value="item.FCATNO">
                </el-option>
              </el-select>
            </el-form-item>
          </el-col>
          <el-col :span="6">
            <el-form-item label="">
              <el-button type="primary" @click="getList">查询</el-button>
              <el-button type="success" @click="confirm">确认</el-button>
            </el-form-item>
          </el-col>
        </el-form>
      </el-row>
      <el-table :data="list" border stripe height="400" highlight-current-row @current-change="raidoChange"
        @selection-change="handleSelectionChange" v-loading="loading">
        <el-table-column v-if="selecttype == 'checked'" type="selection" width="55">
        </el-table-column>
        <el-table-column prop="FITEMNO" label="商品编号" width="100"></el-table-column>
        <el-table-column prop="FITEMNAME" label="商品名称"></el-table-column>
      </el-table>
      <pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
    </el-dialog>
  </template>
  <script>
    export default {
      props: {
        selecttype: {
          type: String,
          default: "checked"
        },
      },
      data() {
        return {
          title: "新增",
          listQuery: {
            frtnflag: undefined,
            fitemno: undefined,
            fitemname: undefined,
            fcatno: undefined,
            fcustomno: this.$store.getters.userInfo.mobilePhone,
            page: 1,
            limit: 20,
          },
          catlist: [
  {
    "FCATNO": "10",
    "FCATNAME": "食品",
    "FPARENTNO": null,
    "FSEQNO": 28,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T02:57:02.000+00:00"
  },
  {
    "FCATNO": "1001",
    "FCATNAME": "饮料类",
    "FPARENTNO": "10",
    "FSEQNO": 29,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:54:32.000+00:00"
  },
  {
    "FCATNO": "1002",
    "FCATNAME": "方面食品类",
    "FPARENTNO": "10",
    "FSEQNO": 30,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:56:44.000+00:00"
  },
  {
    "FCATNO": "1003",
    "FCATNAME": "饼干、糕点类",
    "FPARENTNO": "10",
    "FSEQNO": 31,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-23T06:58:03.000+00:00"
  },
  {
    "FCATNO": "1004",
    "FCATNAME": "糖果巧克力类",
    "FPARENTNO": "10",
    "FSEQNO": 32,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:57:18.000+00:00"
  },
  {
    "FCATNO": "1005",
    "FCATNAME": "休闲食品类",
    "FPARENTNO": "10",
    "FSEQNO": 33,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:57:33.000+00:00"
  },
  {
    "FCATNO": "1006",
    "FCATNAME": "烘焙类",
    "FPARENTNO": "10",
    "FSEQNO": 34,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:57:45.000+00:00"
  },
  {
    "FCATNO": "1007",
    "FCATNAME": "冲泡类",
    "FPARENTNO": "10",
    "FSEQNO": 35,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:57:55.000+00:00"
  },
  {
    "FCATNO": "1008",
    "FCATNAME": "冷藏食品类",
    "FPARENTNO": "10",
    "FSEQNO": 36,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:58:04.000+00:00"
  },
  {
    "FCATNO": "1009",
    "FCATNAME": "冷冻食品类",
    "FPARENTNO": "10",
    "FSEQNO": 37,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:58:39.000+00:00"
  },
  {
    "FCATNO": "1011",
    "FCATNAME": "调味品类",
    "FPARENTNO": "10",
    "FSEQNO": 39,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T05:59:11.000+00:00"
  },
  {
    "FCATNO": "1012",
    "FCATNAME": "营养保健",
    "FPARENTNO": "10",
    "FSEQNO": 40,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-24T07:25:22.000+00:00"
  },
  {
    "FCATNO": "20",
    "FCATNAME": "日用百货",
    "FPARENTNO": null,
    "FSEQNO": 41,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2012-07-09T10:36:32.000+00:00"
  },
  {
    "FCATNO": "2001",
    "FCATNAME": "百货类",
    "FPARENTNO": "20",
    "FSEQNO": 42,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-24T07:40:15.000+00:00"
  },
  {
    "FCATNO": "2002",
    "FCATNAME": "自用品",
    "FPARENTNO": "20",
    "FSEQNO": 1,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T02:59:04.000+00:00"
  },
  {
    "FCATNO": "30",
    "FCATNAME": "卡类",
    "FPARENTNO": null,
    "FSEQNO": 9,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2019-09-03T03:10:55.000+00:00"
  },
  {
    "FCATNO": "3001",
    "FCATNAME": "移动",
    "FPARENTNO": "30",
    "FSEQNO": 10,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T03:43:45.000+00:00"
  },
  {
    "FCATNO": "3002",
    "FCATNAME": "联通",
    "FPARENTNO": "30",
    "FSEQNO": 11,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T06:22:04.000+00:00"
  },
  {
    "FCATNO": "3003",
    "FCATNAME": "电信",
    "FPARENTNO": "30",
    "FSEQNO": 12,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T06:23:15.000+00:00"
  },
  {
    "FCATNO": "3004",
    "FCATNAME": "邮票",
    "FPARENTNO": "30",
    "FSEQNO": 13,
    "FVISIBLE": 1,
    "FIMAGE": null,
    "FOPERATOR": "system",
    "FUPDDATE": "2011-02-16T06:24:25.000+00:00"
  }
],
          list:[
  {
    "FITEMNO": 121180,
    "FITEMNAME": "力士迷情芍药沐浴乳400ML",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "400ml*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 23.01,
    "FBUYPRICE": 20.01,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 23,
    "FOPERATOR": "Z0318",
    "FOPERDATE": "2024-01-23T07:20:25.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121181,
    "FITEMNAME": "奥妙深层洁净洗衣液900G",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "900g*12",
    "FSALEUNIT": "袋  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 9.66,
    "FBUYPRICE": 8.4,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.9,
    "FOPERATOR": "Z0318",
    "FOPERDATE": "2024-09-12T08:24:35.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121182,
    "FITEMNAME": "奥妙深层洁净洗衣粉1KG",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "1kg*6",
    "FSALEUNIT": "袋  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 6,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 9.66,
    "FBUYPRICE": 8.4,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.9,
    "FOPERATOR": "Z0318",
    "FOPERDATE": "2024-01-24T05:18:54.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121183,
    "FITEMNAME": "中华健齿白薄荷牙膏105g",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "105g*6*9",
    "FSALEUNIT": "支  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 54,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 3.45,
    "FBUYPRICE": 3,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 3.5,
    "FOPERATOR": "Z0318",
    "FOPERDATE": "2024-01-23T07:46:30.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121173,
    "FITEMNAME": "隆力奇滋润锁水护手霜100G",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "100g*36",
    "FSALEUNIT": "支  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 36,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 13.8,
    "FBUYPRICE": 12,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 15,
    "FOPERATOR": "Z0129",
    "FOPERDATE": "2024-08-28T01:28:12.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121174,
    "FITEMNAME": "隆力奇护手特惠套装130G",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "130g*24",
    "FSALEUNIT": "套  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 24,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 11.5,
    "FBUYPRICE": 10,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 12.5,
    "FOPERATOR": "Z0325",
    "FOPERDATE": "2024-01-24T05:00:26.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121175,
    "FITEMNAME": "隆力奇蛇油护手霜120G",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "120g*36",
    "FSALEUNIT": "支  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 36,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 9.09,
    "FBUYPRICE": 7.9,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.9,
    "FOPERATOR": "Z0325",
    "FOPERDATE": "2024-01-24T05:00:31.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121176,
    "FITEMNAME": "隆力奇三效防护蛇油膏80G",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "80g*36",
    "FSALEUNIT": "盒  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 36,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 16.68,
    "FBUYPRICE": 14.5,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 18,
    "FOPERATOR": "Z0129",
    "FOPERDATE": "2024-08-28T01:28:16.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121177,
    "FITEMNAME": "隆力奇牛奶润肤浴露1L",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "1L*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 22.66,
    "FBUYPRICE": 19.7,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 25,
    "FOPERATOR": "Z0129",
    "FOPERDATE": "2024-08-28T01:28:20.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121178,
    "FITEMNAME": "隆力奇清凉爽肤浴露1L",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "1L*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 22.66,
    "FBUYPRICE": 19.7,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 25,
    "FOPERATOR": "Z0873",
    "FOPERDATE": "2024-01-26T03:17:34.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121179,
    "FITEMNAME": "隆力奇蛇油SOD蜜90ML",
    "FSEARCH": null,
    "FCATNO": "2001",
    "FSPEC": "90ml*50",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 50,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 9.09,
    "FBUYPRICE": 7.9,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.9,
    "FOPERATOR": "Z0325",
    "FOPERDATE": "2024-01-24T05:29:59.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121418,
    "FITEMNAME": "柚香谷蜜炼柚子茶",
    "FSEARCH": null,
    "FCATNO": "1007",
    "FSPEC": "300g*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 16.04,
    "FBUYPRICE": 13.95,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 16.8,
    "FOPERATOR": "Z0326",
    "FOPERDATE": "2024-01-24T08:42:40.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121419,
    "FITEMNAME": "柚香谷蜜炼洛神花茶",
    "FSEARCH": null,
    "FCATNO": "1007",
    "FSPEC": "300g*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 16.04,
    "FBUYPRICE": 13.95,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 16.8,
    "FOPERATOR": "Z0326",
    "FOPERDATE": "2024-01-24T08:42:49.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121420,
    "FITEMNAME": "柚香谷蜜炼芦荟茶",
    "FSEARCH": null,
    "FCATNO": "1007",
    "FSPEC": "300g*12",
    "FSALEUNIT": "瓶  ",
    "FORDUNIT": "箱  ",
    "FORDPACK": 12,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 18.92,
    "FBUYPRICE": 16.45,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 19.8,
    "FOPERATOR": "Z0326",
    "FOPERDATE": "2024-01-24T08:43:09.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121589,
    "FITEMNAME": "萝卜牛杂",
    "FSEARCH": null,
    "FCATNO": "1009",
    "FSPEC": "250g",
    "FSALEUNIT": "份  ",
    "FORDUNIT": "份  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 10.35,
    "FBUYPRICE": 9,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 10,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-05-06T03:16:43.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121591,
    "FITEMNAME": "青海湖藏酸奶炭烧风味发酵乳",
    "FSEARCH": null,
    "FCATNO": "1014",
    "FSPEC": "230g",
    "FSALEUNIT": "罐  ",
    "FORDUNIT": "罐  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 10.14,
    "FBUYPRICE": 8.82,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.8,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-05-06T03:16:52.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121592,
    "FITEMNAME": "青海湖藏酸奶原味风味发酵乳",
    "FSEARCH": null,
    "FCATNO": "1014",
    "FSPEC": "230g",
    "FSALEUNIT": "罐  ",
    "FORDUNIT": "罐  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 10.14,
    "FBUYPRICE": 8.82,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 9.8,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-05-06T03:17:10.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121593,
    "FITEMNAME": "清净园甜辣炒年糕",
    "FSEARCH": null,
    "FCATNO": "1002",
    "FSPEC": "190g",
    "FSALEUNIT": "盒  ",
    "FORDUNIT": "盒  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 14.28,
    "FBUYPRICE": 12.42,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 13.8,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-01-24T02:24:27.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121594,
    "FITEMNAME": "清净园芝士炒年糕",
    "FSEARCH": null,
    "FCATNO": "1002",
    "FSPEC": "190g",
    "FSALEUNIT": "盒  ",
    "FORDUNIT": "盒  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 14.28,
    "FBUYPRICE": 12.42,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 13.8,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-01-24T02:24:33.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  },
  {
    "FITEMNO": 121595,
    "FITEMNAME": "咸蛋黄鲜肉包",
    "FSEARCH": null,
    "FCATNO": "1009",
    "FSPEC": "85g",
    "FSALEUNIT": "个  ",
    "FORDUNIT": "个  ",
    "FORDPACK": 1,
    "FORDFLAG": 1,
    "FRTNFLAG": 1,
    "FDISPRICE": 3.62,
    "FBUYPRICE": 3.15,
    "FWEIGHT": 999,
    "FDISTYPE": 1,
    "FSTATE": 1,
    "FSELLPRICE": 3.5,
    "FOPERATOR": "Z0110",
    "FOPERDATE": "2024-05-06T03:17:16.000+00:00",
    "FBUYVAT": 0.16,
    "FCUSTOMNO": null,
    "YFDISPRICE": null,
    "jM_PLU_DETAIL": [],
    "jM_PLU_IMAGE": []
  }
],
          loading: false,
          total: 0,
          datalist: [],
          visible: false,
        };
      },
      created() {
      },
      mounted() { },
      methods: {
        //
        open(row) {
          this.visible = true;
        },
        confirm() {
          this.$emit("confirm", this.datalist);
          this.visible = false;
        },
        raidoChange(data) {
          if (this.selecttype == "radio") {
            this.$emit("confirm", data);
            this.visible = false;
          }
        },
        handleSelectionChange(val) {
          this.datalist = val;
        },
        //
        cancel() {
          this.visible = false;
        },
      },
    };
  </script>